package com.gerenboke.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gerenboke.domain.entity.User;

import java.util.List;


/**
 * 用户表(User)表数据库访问层
 *
 * @author makejava
 * @since 2022-11-14 22:47:36
 */
public interface UserMapper extends BaseMapper<User> {

    int saveUserRole(Long userId, Long roleId);

    List<String> selectroleIds(Long id);

    void deleteUserRole(Long id);
}

